<?php
require ('config.php');
$action=$_GET['action'];
require ('source/admin/admincp_config.php');
if( $_config['config']['adminm'] ){
    if(!$_GET['dmp']){ $_GET['dmp']=$_COOKIE['dmp'];}
    if( $_GET['dmp'] != $Bingz_adminm){
	      echo '<meta http-equiv=refresh content="0;url=index.php?"><script>location.href="index.php?"</script>';
        header("Location:index.php?");
        exit;
    }else{
	      setcookie('dmp',$Bingz_adminm);
    }
}
$modcachelist = array('admin'=> array('link','url','php','user_config','email','Bingz','upload','plugin','templates','shangtou','user_jifenqx','user_tixje','user_renzheng','user_renminbi','user_bdzh','user_rz','user_xun','user_xc','defense','index', 'login', 'wzgj','sjcj','setting','gb','link','bq','ly','dh','design','sms','sms_user','sms_gog','user','user_sz','user_xx','user_tx','forum_config','forum','forum_sz','forum_admin','forum_tz','forum_hs','article','article_post','ymsj','chajian','chajian_zx','renminbi')
);
if(!in_array($action, $modcachelist['admin']) ) {
      $action='index'; 
}
  $file="source/admin/admincp_".$action.".php";
  if(file_exists($file)){
     require_once $file;
  }else{
	   echo "Bingz:-2(404)";
	   exit();
  }
foot();
$db->close();
ob_end_flush();
?>